package com.gxkj.projects.myshopx.controllers.seajs;

import com.gxkj.projects.myshopx.controllers.AdminIndexController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
@RequestMapping("/seajs")
public class SeaJsController {


    Logger LOG = LoggerFactory.getLogger(AdminIndexController.class);

    @RequestMapping(value="",method= RequestMethod.GET)
    public String index(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap){
        return "seajs/seajs-index";
    }
    @RequestMapping(value="hello",method= RequestMethod.GET)
    public String hello(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap){
        return "seajs/seajs-hello";
    }
    @RequestMapping(value="lucky",method= RequestMethod.GET)
    public String lucky(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap){
        return "seajs/seajs-lucky";
    }
    @RequestMapping(value="ngtodo",method= RequestMethod.GET)
    public String ngtodo(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap){
        return "seajs/seajs-ngtodo";
    }
    @RequestMapping(value="todo",method= RequestMethod.GET)
    public String todo(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap){
        return "seajs/seajs-todo";
    }
    @RequestMapping(value="crm",method= RequestMethod.GET)
    public String crm(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap){
        return "seajs/seajs-crm";
    }
    @RequestMapping(value="mysea",method= RequestMethod.GET)
    public String my(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap){
        return "seajs/seajs-mysea";
    }

}
